package entity

import (
	"time"

	"shqsoft.cn/pas3ui/base"
)

//ShCompAccoJfxs 对公存款绩费系数
type ShCompAccoJfxs struct {
	ACID  int        `gorm:"AUTO_INCREMENT;primary_key;column:ACID"`
	CUNM  string     `gorm:"column:CUNM"`
	ENCD  string     `gorm:"column:ENCD"`
	ACNO  string     `gorm:"column:ACNO"`
	BANO  string     `gorm:"column:BANO"`
	UTID  int        `gorm:"column:UTID"`
	ITID  int        `gorm:"column:ITID"`
	OPDT  *time.Time `gorm:"column:OPDT"`
	VLDT  *time.Time `gorm:"column:VLDT"`
	MADT  *time.Time `gorm:"column:MADT"`
	CUID  int        `gorm:"column:CUID"`
	UTNM  string     `gorm:"column:UTNM"`
	ITNM  string     `gorm:"column:ITNM"`
	RDNM  string     `gorm:"column:RDNM"`
	CYNM  string     `gorm:"column:CYNM"`
	ACBL  float64    `gorm:"column:ACBL"`
	AMAL  float64    `gorm:"column:AMAL"`
	TZXS  float64    `gorm:"column:TZXS"`
	TZXS2 float64    `gorm:"column:TZXS2"`
}

//TableName 零售账户表名
func (ShCompAccoJfxs) TableName() string {
	return "V_COMP_ACCO_JFXS"
}

func ShCompAccoJfxsEF() base.EntityFunc {
	return func() interface{} {
		entity := ShCompAccoJfxs{}
		return &entity
	}
}
func ShCompAccoJfxsESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []ShCompAccoJfxs
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("ShCompAccoJfxs", base.NewDefaultDao(ShCompAccoJfxsEF(), ShCompAccoJfxsESF(), nil, "ch"))
}
